package com.example.rabbit;

/**
 * Created with IntelliJ IDEA.
 * ClassName: User
 * Package: com.example.rabbit
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-06-08
 * Time: 20:06
 */

public class User {
    private String name;
    private String password;
    private String phone;
    private String email;
    private int dx;
    private int yx;

    public User(String name, String password, String phone, String email) {
        this.name = name;
        this.password = password;
        this.phone = phone;
        this.email = email;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getDx() {
        return dx;
    }

    public void setDx(int dx) {
        this.dx = dx;
    }

    public int getYx() {
        return yx;
    }

    public void setYx(int yx) {
        this.yx = yx;
    }
}
